package com.dk.mapper;

import com.dk.pojo.SslRole;
import com.dk.pojo.SslRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.boot.web.server.Ssl;

public interface SslRoleMapper {
    int countByExample(SslRoleExample example);

    int deleteByExample(SslRoleExample example);

    int deleteByPrimaryKey(Integer roleId);

    int insert(SslRole record);

    int insertSelective(SslRole record);

    List<SslRole> selectByExample(SslRoleExample example);

    SslRole selectByPrimaryKey(Integer roleId);

    int updateByExampleSelective(@Param("record") SslRole record, @Param("example") SslRoleExample example);

    int updateByExample(@Param("record") SslRole record, @Param("example") SslRoleExample example);

    int updateByPrimaryKeySelective(SslRole record);

    int updateByPrimaryKey(SslRole record);

    int insertRoleAndId(SslRole trole);

    List<Integer> findRoleListByPersonId(@Param("pid") Integer pid);
}